home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Shareware / Comunicatii / s-wall / s-Wall-Setup.exe / {app} / RestoreSettings.bat next >
DOS Batch File  |  2003-12-30  |  257b  |  13 lines

  1. @echo off
  2.  
  3. if not exist %1 goto restore
  4.  
  5. rem clear register
  6. echo REGEDIT4 > "%TEMP%\$x-wall$.reg"
  7. echo [-%2] >> "%TEMP%\$x-wall$.reg"
  8. start/wait regedit -s "%TEMP%\$x-wall$.reg"
  9. del "%TEMP%\$x-wall$.reg" > nul
  10.  
  11. :restore
  12. start/wait regedit -s %1
  13.